
<div class="span12">
    <div class="box box-color box-bordered">
        <div class="box-title">
            <h3>
                <i class="icon-table"></i>
                Archivo Error
            </h3>
            <div class="actions">
                <a href="<?php echo url_for('adminstores/addStores'); ?>" class='btn'>
                    <i class="icon-plus-sign"></i>Agregar Locales</a>
            </div>
        </div>
        <div class="box-content nopadding">
            <table class="table table-hover table-nomargin table-condensed">
                <thead>
                    <tr>
                        <th>N°</th>
                        <th>Linea N°</th>
                        <th>Columna(s)</th>
                        <th>N° Error(es)</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
                    $i=0;
                    foreach ($dataError as $key => $value) { 
                        if($value[$key]!=""){?>
                        <tr>
                            <td><?php echo ++$i;?></td>
                            <td><?php echo "linea n°: ".$key;?></td>
                            <td><?php echo substr($value[$key],0,  strlen($value[$key])-1);?></td>
                            <td><?php echo count(explode(',',$value[$key]))-1;?> </td>
                        </tr>
                    <?php } }?>
                </tbody>
            </table>
        </div>
    </div>
</div>